<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="/resources/css/admin/course/courseList.css" />
	<script type="text/javascript" src="/resources/js/admin/course/courseList.js"></script>
	<title>/admin/course/courseList.jsp</title>	
</head>
<body>
	<div id="courselist"><br>
	<div id="top">관리자 >수강관리>수강정보페이지</div>
		<h1 id="coursetop">수강정보페이지</h1>
		<div id="courseadd">
			<a href="/admin/course/addCourseForm" title="과목추가버튼">[수강추가]</a>
		</div>
		<table>			
			<tr>
				<th>수강IDX</th>						
				<th>반 이름</th>				
				<th>과목 이름</th>
				<th>비고</th>							
			</tr>
			<c:forEach var="course" items="${courseList}">
			<tr>
				<td>${course.courseIdx}</td>				
				<td>${course.banName}</td>				
				<td>${course.subjectName}</td>						
				<td>
					<input type="submit" value="수정">
					<input type="submit" value="삭제">
				</td>			
			</tr>
			</c:forEach>		
		</table>
	</div>	
	<form id="searchbox" action="">
	    <input id="search" type="text" placeholder=" 검색어를 검색해 주세요." size="50">
	    <input id="submit" type="submit" value="Search">
	</form>		
</body>
</html>